<?php include_once "wish_top.php";
$wish=$db->ig2_want('mae_wish_list','id='.$_GET['id']);
if(!$wish) tellgoto('访问错误','wish_list.php');
$evaluate=$db->ig2_want('mae_wish_evaluate','wish_id='.$wish['id']);
?> 
<div class="addleft">
	<a href="wish_list.php">心愿单执行列表</a>
</div>
<div class="addbar">
	<ul>
	<h2>心愿单评价内容</h2>
	<?php if($evaluate){?>
	<li><label style="width:auto">评星：</label><?php echo $evaluate['star']?> 星</li>
	<li><label style="width:auto">评价：</label><span style="float:left;width:95%"><?php echo $evaluate['content']?></span></li>
	<li><label style="width:auto">时间：</label><?php echo date('Y-m-d H:i:s',$evaluate['create_time'])?></li>
	<?php }else{?>
	<li><label style="width:auto">该心愿单暂未评价</label></li>
	<?php }?>
	<li style="border:none"><label style="width:auto">&nbsp;</label><input type="button" name="" value="返回" onclick="history.go(-1)"></li>
	</ul>
</div>
<?php include_once "down.php";?>